package com.cgsrp.cgsrp_shopping.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cgsrp.cgsrp_shopping.dao.AlipayMapper;
import com.cgsrp.cgsrp_shopping.domain.MyAlipay;
import com.cgsrp.cgsrp_shopping.service.AlipayService;
@Service
public class AlipayServiceImpl implements AlipayService{

    @Resource
    private AlipayMapper alipayMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return alipayMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MyAlipay record) {
        return alipayMapper.insert(record);
    }

    @Override
    public int insertSelective(MyAlipay record) {
        return alipayMapper.insertSelective(record);
    }

    @Override
    public MyAlipay selectByPrimaryKey(Integer id) {
        return alipayMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MyAlipay record) {
        return alipayMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MyAlipay record) {
        return alipayMapper.updateByPrimaryKey(record);
    }

}
